package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ShopMerchantRepository;
import com.woniuxy.common.entity.ShopMerchantRepositoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopMerchantRepositoryMapper {
    long countByExample(ShopMerchantRepositoryExample example);

    int deleteByExample(ShopMerchantRepositoryExample example);

    int deleteByPrimaryKey(String repositoryId);

    int insert(ShopMerchantRepository record);

    int insertSelective(ShopMerchantRepository record);

    List<ShopMerchantRepository> selectByExample(ShopMerchantRepositoryExample example);

    ShopMerchantRepository selectByPrimaryKey(String repositoryId);

    int updateByExampleSelective(@Param("record") ShopMerchantRepository record, @Param("example") ShopMerchantRepositoryExample example);

    int updateByExample(@Param("record") ShopMerchantRepository record, @Param("example") ShopMerchantRepositoryExample example);

    int updateByPrimaryKeySelective(ShopMerchantRepository record);

    int updateByPrimaryKey(ShopMerchantRepository record);
}